package com.demo.math.equationImpl;

import cn.hutool.core.util.RandomUtil;
import com.demo.math.utils.MathUtil;
import com.demo.math.domain.MathStrategy;

import java.util.ArrayList;
import java.util.List;

public class AddSub2MathStrategy implements MathStrategy {


    @Override
    public String math(int range) {
        return MathUtil.equation(RandomUtil.randomBoolean() ? 1 : -1, range) + "=";
    }


}
